<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<!-- meta -->
<meta name="keywords" content="">
<meta name="description" content="">
<!-- /meta -->

<c:if test="${actionType == 'DEL'}" >
	<title>フロントディレクトリ表示設定削除 - 確認</title>
</c:if>
<c:if test="${actionType == 'ADD' || actionType == 'MOD'}" >
	<title>フロントディレクトリ表示設定 登録/編集 - 確認</title>
</c:if>

<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/base.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/headerfooter.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/ulol.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/arrow.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/elements.css">
<!-- admin -->
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/base_admin.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/elements_admin.css">
<!-- /admin -->
<script type="text/javascript" src="<%= request.getContextPath() %>/common/js/library.js"></script>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_winie3.css">
<!--[if gte IE 5]>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_over_winie5.css">
<![endif]-->
<!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_winie5.css">
<![endif]-->
<SCRIPT type="text/javascript">

	function back(){
		confirmForm.action ='<%= request.getContextPath() %>/outputfront/treeset-modoru';
		confirmForm.submit();
	}

</SCRIPT>
</head>
<body id="dch" >
<!-- === headerArea === -->
<div id="headerArea">
<a name="pageTop" id="pageTop"></a>
<jsp:include page="/common/include/header.jsp" />
</div><!-- === /headerArea === -->
<!-- === mainArea === -->
<div id="mainArea">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr valign="top">
		<td width="140" id="leftArea">
			<jsp:include page="../output_menu.jsp" />
			<!-- /listA01 -->
		</td>
		<td width="20"><img src="<%= request.getContextPath() %>/common/images/spacer.gif" width="20" height="4" border="0" alt=""></td>
		<td id="contentsArea">
		<!-- === contentsArea === -->
			<!-- headingLv01Block -->
			<div class="headingLv01Block">
				<!-- headingLv01 -->

				<c:if test="${actionType == 'DEL'}" >
					<h1>フロントディレクトリ表示設定削除 - 確認</h1>
				</c:if>
				<c:if test="${actionType == 'ADD' || actionType == 'MOD'}" >
					<h1>フロントディレクトリ表示設定 登録/編集 - 確認</h1>
				</c:if>
				<!-- /headingLv01 -->
			</div>
			<!-- /headingLv01Block -->
			<!-- columnB01 -->
			<div class="columnB01">
			 <s:fielderror/>
			 <s:actionerror/>
			 <s:actionmessage/>
			</div>
			<!-- /columnB01 -->
			<!-- headingLv02 -->
			<div class="headingLv02">
			<table border="0" cellspacing="0" cellpadding="5" width="558">
				<tr>
					<td><p><em>フロントディレクトリ表示設定情報 - ヘッダー</em></p></td>
				</tr>
			</table>
			</div>
			<!-- /headingLv02 -->
			<form action="<%= request.getContextPath() %>/outputfront/treeset-execute" method="post" id="confirmForm" name="confirmForm">
			<s:token/>
			<s:hidden name="actionType"/>
			<s:hidden name="frontDisplayGroup.id"/>
			<s:hidden name="frontDisplayGroup.displayName" />
			<s:hidden name="frontDisplayGroup.startDate" />
			<s:hidden name="frontDisplayGroup.startTime" />
			<!-- tableBlock -->
			<div class="tableBlock">
				<!-- tableA01 -->
				<div class="tableA01">
				<table border="1" cellspacing="0" cellpadding="5" width="558">
					<tr>
						<!-- ラベル -->
						<th class="lv01B" width="170"><label for="name">フロントディレクトリ表示設定名</label></th>
						<!-- エラー -->
						<th width="11" class="error">&nbsp;</th>
						<!-- 内容 -->
						<td><s:property value="%{frontDisplayGroup.displayName}"/></td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="createUser">開始日時</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td>
										<s:property value="%{frontDisplayGroup.startDate}"/>&nbsp;&nbsp;&nbsp;
										<s:property value="%{frontDisplayGroup.startTime}"/>時&nbsp;&nbsp;&nbsp;
					</tr>
				</table>
				</div>
				<!-- /tableA01 -->
			</div>
			<!-- tableBlock -->
			<div class="tableBlock">
				<!-- tableA01 -->
				<div class="tableA01">
					<table border="1" cellspacing="0" cellpadding="5" id="metaTbl">
						<tr>
							<th class="lv01B">カテゴリ</th>
							<th class="lv01B" colspan="3">項目</th>
							<th class="lv01B" >選択</th>
							<th class="lv01B">表示名称</th>
						</tr>
						<s:iterator value="define1.list" status="stat">
						<tr>
							<s:set name="fieldKey" value="%{define1.list[#stat.index].key}"/>
							<th class="lv01B">作成機関の概要</th>
							<s:iterator value="itemList" status="itemStat">
								<th class="lv01B" rowspan="${rowspan}" colspan="${colspan}"><s:property value="value" /></th>
							</s:iterator>
							<s:if test='%{isChecked(#fieldKey) == true}'>
								<td>
									選択
							 	</td>
							 	<td>
							 		<s:property value="%{getDisplayName(#fieldKey)}"/>
							 	</td>
							</s:if>
							<s:else>
								<td>
									&nbsp;
							 	</td>
							 	<td>
							 		&nbsp;
							 	</td>
							</s:else>
							 <s:hidden name="lv1Select[%{#stat.index}].topFieldKey" />
							 <s:hidden name="lv1Select[%{#stat.index}].displayName" />
							 <s:hidden name="lv1Select[%{#stat.index}].fieldKeyList"/>
						</tr>
						</s:iterator>
						<s:iterator value="define2.list" status="stat">
						<tr>
							<s:set name="fieldKey" value="%{define2.list[#stat.index].key}"/>
							<th class="lv01B">目録データ概要</th>
							<s:iterator value="itemList" status="itemStat">
								<th class="lv01B" rowspan="${rowspan}" colspan="${colspan}"><s:property value="value" /></th>
							</s:iterator>
							<s:if test='%{isChecked(#fieldKey) == true}'>
								<td>
									選択
							 	</td>
							 	<td>
							 		<s:property value="%{getDisplayName(#fieldKey)}"/>
							 	</td>
							</s:if>
							<s:else>
								<td>
									&nbsp;
							 	</td>
							 	<td>
							 		&nbsp;
							 	</td>
							</s:else>
							 <s:hidden name="lv2Select[%{#stat.index}].topFieldKey" />
							 <s:hidden name="lv2Select[%{#stat.index}].displayName" />
							 <s:hidden name="lv2Select[%{#stat.index}].fieldKeyList"/>
						</tr>
						</s:iterator>
						<s:iterator value="define3.list" status="stat">
						<tr>
							<s:set name="fieldKey" value="%{define3.list[#stat.index].key}"/>
							<th class="lv01B">資料群全体</th>
							<s:iterator value="itemList" status="itemStat">
								<th class="lv01B" rowspan="${rowspan}" colspan="${colspan}"><s:property value="value" /></th>
							</s:iterator>
							<s:if test='%{isChecked(#fieldKey) == true}'>
								<td>
									選択
							 	</td>
							 	<td>
							 		<s:property value="%{getDisplayName(#fieldKey)}"/>
							 	</td>
							</s:if>
							<s:else>
								<td>
									&nbsp;
							 	</td>
							 	<td>
							 		&nbsp;
							 	</td>
							</s:else>
							 <s:hidden name="lv3Select[%{#stat.index}].topFieldKey" />
							 <s:hidden name="lv3Select[%{#stat.index}].displayName" />
							 <s:hidden name="lv3Select[%{#stat.index}].fieldKeyList"/>
						</tr>
						</s:iterator>
						<s:iterator value="define4.list" status="stat">
						<tr>
							<s:set name="fieldKey" value="%{define4.list[#stat.index].key}"/>
							<th class="lv01B">サブフォンド</th>
							<s:iterator value="itemList" status="itemStat">
								<th class="lv01B" rowspan="${rowspan}" colspan="${colspan}"><s:property value="value" /></th>
							</s:iterator>
							<s:if test='%{isChecked(#fieldKey) == true}'>
								<td>
									選択
							 	</td>
							 	<td>
							 		<s:property value="%{getDisplayName(#fieldKey)}"/>
							 	</td>
							</s:if>
							<s:else>
								<td>
									&nbsp;
							 	</td>
							 	<td>
							 		&nbsp;
							 	</td>
							</s:else>
							 <s:hidden name="lv4Select[%{#stat.index}].topFieldKey" />
							 <s:hidden name="lv4Select[%{#stat.index}].displayName" />
							 <s:hidden name="lv4Select[%{#stat.index}].fieldKeyList"/>
						</tr>
						</s:iterator>
						<s:iterator value="define5.list" status="stat">
						<tr>
							<s:set name="fieldKey" value="%{define5.list[#stat.index].key}"/>
							<th class="lv01B">シリーズ</th>
							<s:iterator value="itemList" status="itemStat">
								<th class="lv01B" rowspan="${rowspan}" colspan="${colspan}"><s:property value="value" /></th>
							</s:iterator>
							<s:if test='%{isChecked(#fieldKey) == true}'>
								<td>
									選択
							 	</td>
							 	<td>
							 		<s:property value="%{getDisplayName(#fieldKey)}"/>
							 	</td>
							</s:if>
							<s:else>
								<td>
									&nbsp;
							 	</td>
							 	<td>
							 		&nbsp;
							 	</td>
							</s:else>
							 <s:hidden name="lv5Select[%{#stat.index}].topFieldKey" />
							 <s:hidden name="lv5Select[%{#stat.index}].displayName" />
							 <s:hidden name="lv5Select[%{#stat.index}].fieldKeyList"/>
						</tr>
						</s:iterator>
							<s:iterator value="define6.list" status="stat">
						<tr>
							<s:set name="fieldKey" value="%{define6.list[#stat.index].key}"/>
							<th class="lv01B">アイテム</th>
							<s:iterator value="itemList" status="itemStat">
								<th class="lv01B" rowspan="${rowspan}" colspan="${colspan}"><s:property value="value" /></th>
							</s:iterator>
							<s:if test='%{isChecked(#fieldKey) == true}'>
								<td>
									選択
							 	</td>
							 	<td>
							 		<s:property value="%{getDisplayName(#fieldKey)}"/>
							 	</td>
							</s:if>
							<s:else>
								<td>
									&nbsp;
							 	</td>
							 	<td>
							 		&nbsp;
							 	</td>
							</s:else>
							 <s:hidden name="lv6Select[%{#stat.index}].topFieldKey" />
							 <s:hidden name="lv6Select[%{#stat.index}].displayName" />
							 <s:hidden name="lv6Select[%{#stat.index}].fieldKeyList"/>
						</tr>
						</s:iterator>

						<s:if test='customItemList.size != 0'>
						<s:iterator value="customItemList" status="customItemStat">
							<tr>
								<s:set name= "fieldKey" value="%{customItemList[#customItemStat.index].fieldKey}"/>
								<th class="lv01B" >
									カスタム
								</th>
								<th class="lv01B"  colspan="3">
									<c:out value="${fieldItemName}" />
									<s:hidden name="customItemList[%{#customItemStat.index}].fieldItemName"/>
								</th>
								<s:if test='%{isChecked(#fieldKey) == true}'>
									<td>
										選択
								 	</td>
								 	<td>
								 		<s:property value="%{getDisplayName(#fieldKey)}"/>
								 	</td>
								</s:if>
								<s:else>
									<td>
										&nbsp;
								 	</td>
								 	<td>
								 		&nbsp;
								 	</td>
								</s:else>
								 <s:hidden name="customSelect[%{#customItemStat.index}].topFieldKey" />
								 <s:hidden name="customSelect[%{#customItemStat.index}].displayName" />
								 <s:hidden name="customSelect[%{#customItemStat.index}].fieldKeyList"/>
							 </tr>
						</s:iterator>
						</s:if>
					</table>
					</div>
				<!-- /tableA01 -->
			</div>
			<!-- /pageNaviC01 -->
			<!-- pageNaviC01 -->
			<div class="pageNaviC01">
			<table border="0" cellspacing="0" cellpadding="10" width="558">
				<tr>
					<c:if test="${actionType == 'DEL'}" >
						<td width="298" class="left"><p><input type="button" value="戻る" style="width:100px" onclick="location.href='<%= request.getContextPath() %>/output/modoru'"></p></td>
					</c:if>
					<c:if test="${actionType == 'ADD' || actionType == 'MOD'}" >
						<td width="298" class="left"><p><input type="button" value="戻る" style="width:100px" onclick="back()"></p></td>
					</c:if>
					<td width="130" class="left">&nbsp;</td>
					<c:if test="${actionType == 'DEL'}" >
						<td width="130" class="right"><p><input type="submit" value="削除する" style="width:130px" ></p></td>
					</c:if>
					<c:if test="${actionType == 'ADD' || actionType == 'MOD'}" >
						<td width="130" class="right"><p><input type="submit" value="登録する" style="width:130px" ></p></td>
					</c:if>
				</tr>
			</table>
			</div>
			<!-- /pageNaviC01 -->
			</form>
		<!-- === /contentsArea === -->
		</td>
		<td width="16"><img src="<%= request.getContextPath() %>/common/images/spacer.gif" width="16" height="4" border="0" alt=""></td>
	</tr>
</table>
</div><!-- === /mainArea === -->
<!-- === footerArea === -->
<div id="footerArea">
<jsp:include page="/common/include/footer.jsp" />
</div><!-- === /footerArea === -->
</body>
</html>
<!-- System Architect is COOBA Corp
	Copyright 2010 COOBA Corp All rights reserved -->